//
//  ViewController.h
//  Lazy
//
//  Created by Echo on 14-4-1.
//  Copyright (c) 2014年 Echo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MyUIViewController.h"
#import <CoreBluetooth/CoreBluetooth.h>
#define bottomview_height 50
//Heart_Rate_SRVER
#define Heart_Rate_Service   @"FFF0"



@interface ViewController : MyUIViewController<UITableViewDelegate, UITextFieldDelegate,UITableViewDataSource,CBCentralManagerDelegate,CBPeripheralDelegate>{
    UIView *bottomView;
    UITableView *TableView1, *TableView2, *TableView3, *TableView4;
    UITextField *textField1,*textField2,*textField3;
    UIButton *btn1, *btn12, *btn2, *btn3;
    UIView *leftView, *leftMidView, *midView, *rightView;
    UIButton *rightViewBtn1,*rightViewBtn2,*rightViewBtn3;
    UIButton *bgview;
    BOOL isConnect;
    BOOL isScaning;
    NSMutableArray *savaArray, *curArray, *timeArray;
    NSTimer *timer;
    BOOL isSelectDrug;
}
-(void)sendDataToBluetooth:(NSString*)str;
- (void)startScan;
-(UIWindow*)keyWindow;
@end
